Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.3] Moved request validation logic out of crossbar users modules and into kazoo documents users so validation logic can be used by other parts of the code base. #6547

Closed
wants to merge 3 commits into from

Conversation

bradfordben
Copy link
Contributor

Backport of previous commit to master.

@bradfordben
Copy link
Contributor Author

Cant get pqc_cb_vmboxes:seq() to fail locally, Can you rerun the tests. i dont have access to.

@jamesaimonetti jamesaimonetti changed the title Moved request validation logic out of crossbar users modules and into kazoo documents users so validation logic can be used by other parts of the code base. [4.3] Moved request validation logic out of crossbar users modules and into kazoo documents users so validation logic can be used by other parts of the code base. May 29, 2020
Ben Bradford and others added 2 commits June 2, 2020 16:47
… kazoo documents users so validation logic can be used by other parts of the code base.
- the bug allows the doc to be saved even if there are errors
- it also causes there to be 2 saves per crossbar save
response and add the ability to pass the system_error massage in the
response
@bradfordben
Copy link
Contributor Author

@jamesaimonetti When you can, can you please review this, its the same as master commit you approved a few weeks back just with some minor adjustments to suit 4.3 function calls etc

It also includes 1 last commit to add an extra return type to the system_error return. This just allows you to pass the message back as part of the error. Its not needed in this case but will be needed for callflows. I have added it as a separate PR's to kazoo5 as-well.

jamesaimonetti pushed a commit that referenced this pull request Jun 9, 2020
Moved request validation logic out of crossbar users modules and into
kazoo documents users so validation logic can be used by other parts
of the code base.

PISTON-1078: do not automatically update accounts doc when validated

- the bug allows the doc to be saved even if there are errors
- it also causes there to be 2 saves per crossbar save

Define a common type for the kazoo document validation
response and add the ability to pass the system_error massage in the
response
@jamesaimonetti
Copy link
Member

Merged

@bradfordben
Copy link
Contributor Author

@jamesaimonetti Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants